package com.ruoyi.ydd.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 物资管理对象 bus_materialmanage
 *
 * @author ruoyi
 * @date 2022-09-04
 */
public class BusMaterialmanage extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private String id;

    /** 物料编码 */
    @Excel(name = "物料编码")
    private String code;

    /** 物资名称 */
    @Excel(name = "物资名称")
    private String name;

    /** 物资型号 */
    @Excel(name = "物资型号")
    private String mateType;

    /** 物资类型 */
    @Excel(name = "物资类型")
    private String mateCategory;

    /** 位置 */
    @Excel(name = "位置")
    private String location;

    /** 供应商 */
    @Excel(name = "供应商")
    private String supplier;

    /** 出厂日期 */
    @Excel(name = "出厂日期")
    private String supplyDate;

    /** 质保 */
    @Excel(name = "质保")
    private String zhibao;

    /** 生产商 */
    @Excel(name = "生产商")
    private String producer;

    /** 使用状态 */
    @Excel(name = "使用状态")
    private String status;

    /** 产权单位 */
    @Excel(name = "产权单位")
    private String ownCompany;

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setCode(String code)
    {
        this.code = code;
    }

    public String getCode()
    {
        return code;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setMateType(String mateType)
    {
        this.mateType = mateType;
    }

    public String getMateType()
    {
        return mateType;
    }
    public void setMateCategory(String mateCategory)
    {
        this.mateCategory = mateCategory;
    }

    public String getMateCategory()
    {
        return mateCategory;
    }
    public void setLocation(String location)
    {
        this.location = location;
    }

    public String getLocation()
    {
        return location;
    }
    public void setSupplier(String supplier)
    {
        this.supplier = supplier;
    }

    public String getSupplier()
    {
        return supplier;
    }
    public void setSupplyDate(String supplyDate)
    {
        this.supplyDate = supplyDate;
    }

    public String getSupplyDate()
    {
        return supplyDate;
    }
    public void setZhibao(String zhibao)
    {
        this.zhibao = zhibao;
    }

    public String getZhibao()
    {
        return zhibao;
    }
    public void setProducer(String producer)
    {
        this.producer = producer;
    }

    public String getProducer()
    {
        return producer;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }
    public void setOwnCompany(String ownCompany)
    {
        this.ownCompany = ownCompany;
    }

    public String getOwnCompany()
    {
        return ownCompany;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("code", getCode())
            .append("name", getName())
            .append("mateType", getMateType())
            .append("mateCategory", getMateCategory())
            .append("location", getLocation())
            .append("supplier", getSupplier())
            .append("supplyDate", getSupplyDate())
            .append("zhibao", getZhibao())
            .append("producer", getProducer())
            .append("status", getStatus())
            .append("ownCompany", getOwnCompany())
            .toString();
    }
}
